home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 2.iso / dist / fw_gimp.idb / usr / freeware / include / libgimp / gimpenv.h.z / gimpenv.h
Encoding:
C/C++ Source or Header  |  2002-07-08  |  1.8 KB  |  60 lines

  1. /* LIBGIMP - The GIMP Library 
  2.  * Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
  3.  *
  4.  * gimpenv.h
  5.  *
  6.  * Copyright (C) 1999 Tor Lillqvist <tml@iki.fi>
  7.  *
  8.  * This library is free software; you can redistribute it and/or
  9.  * modify it under the terms of the GNU Lesser General Public
  10.  * License as published by the Free Software Foundation; either
  11.  * version 2 of the License, or (at your option) any later version.
  12.  *
  13.  * This library is distributed in the hope that it will be useful,
  14.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  16.  * Lesser General Public License for more details.
  17.  *
  18.  * You should have received a copy of the GNU Lesser General Public
  19.  * License along with this library; if not, write to the
  20.  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  21.  * Boston, MA 02111-1307, USA.
  22.  */
  23.  
  24. #ifndef __GIMPENV_H__
  25. #define __GIMPENV_H__
  26.  
  27. #ifdef __cplusplus
  28. extern "C" {
  29. #endif /* __cplusplus */
  30.  
  31. /* For information look into the C source or the html documentation */
  32.  
  33. #ifdef G_OS_WIN32
  34. gchar * gimp_toplevel_directory        (void);
  35. #endif
  36.  
  37. gchar * gimp_directory                  (void);
  38. gchar * gimp_personal_rc_file           (gchar     *basename);
  39. gchar * gimp_data_directory             (void);
  40. gchar * gimp_sysconf_directory        (void);
  41. gchar * gimp_gtkrc                      (void);
  42.  
  43. void    gimp_path_runtime_fix           (gchar **path);
  44.  
  45. GList * gimp_path_parse                 (gchar     *path,
  46.                      gint       max_paths,
  47.                      gboolean   check,
  48.                      GList    **check_failed);
  49. gchar * gimp_path_to_str                (GList     *path);
  50. void    gimp_path_free                  (GList     *path);
  51.  
  52. gchar * gimp_path_get_user_writable_dir (GList     *path);
  53.  
  54.  
  55. #ifdef __cplusplus
  56. }
  57. #endif /* __cplusplus */
  58.  
  59. #endif  /*  __GIMPENV_H__  */
  60.